﻿package rob.data{
	import rob.data.Vect3d;
	
	public class Basis3d{
		public var i:Vect3d, j:Vect3d, k:Vect3d;
		
		public function Basis3d():void{
			if(arguments.length == 3){
				i = arguments[0];
				j = arguments[1];
				k = arguments[2];
			}
			else{
				i = new Vect3d(1,0,0);
				j = new Vect3d(0,1,0);
				k = new Vect3d(0,0,1);
			}
		}

		public function toString():String{
			return "Basis3d: ("+i+","+j+","+k+")";
		}
	}
}